package dao;

import bean.Collection;
import bean.User;

import java.sql.SQLException;
import java.util.ArrayList;

public interface CollectionDao {
    public ArrayList<Collection> getCollections(User user) throws SQLException;/*获取用户收藏*/
    public boolean deleteCollection(int id);/*删除用户收藏*/
    public boolean addCollection(Collection collection);/*添加收藏*/

}
